<p>
<html>this is a test
<script></script>
HI!
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0   Transitional//EN"  "DTD/xhtml1-transitional.dtd">
<!DOCTYPEhtml PUBLIC "-//W3C//DTD XHTML 1.0   Transitional//EN"  "DTD/xhtml1-transitional.dtd">
<p>abc123
<head>
<p>not-in-the-head</p>
</head>
<! hithere
<body class="a">
<title>hello</title>
<p>first<span "hello">what?</span> <span "a"b"c" =x =y =z h=j=k>abc1234</span>
<p>hello<p><div>div-inside-p</div></p></p>
<foo>bar<stuff>foo<bar></stuff></foo>
<table><td>cell A</td><td>cell B</td></table>
<table><tr><td>cell X</td><td>cell Y</td></tr></table>
<meta name="description" content="bad html <test> page"" apple=ball>
<body class="b">
second<form>
<input type = "text"><input type=checkbox /><title>The second title</title>
/form><b>>bold & <i>italic</b></i>
<a href="#" $attr1="test1" ?attr2="test2" %attr3="test3" *attr4="test4"><a>a-inside-a</a></a>
<span class="b"><div class="a"></span><span></div>
< b><i>bold-and-italic</i></b>
<b<i>bold-and-italic</i></b>
<b<i>bold-and-italic</i>
<p style="float:right;">float-right<p>embedded<p>another</p></p></p><td>cell1</td><td>cell2</td>
<div rel=dodgyattribute</div>
<span class=noattributeopenquote"" rel = other></span>
<!--DCTPEhtml PUBLIC "-//W3C//DTD XHTML 1.0   Transitional//EN"  "DTD/xhtml1-transitional.dtd">
<p>
<span class="anotherdodgyattribute></span><!DOC
<span class=yetanotherdodgyattribute"></span>
end